package com.mspbots.ticketai;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.mspbots.api.client.CoreClient;
import com.mspbots.api.client.ScriptClient;
import com.mspbots.api.client.WiseClient;
import com.mspbots.ticketai.graderule.GradeRuleInterceptor;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * com.mspbots.core.ticketai.GradeInterceptorAdapter
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/8/20
 */
public abstract class GradeRuleInterceptorAdapter implements GradeRuleInterceptor {

    protected ObjectMapper objectMapper;
    protected WiseClient wiseClient;
    protected CoreClient coreClient;
    protected ScriptClient scriptClient;

    @Autowired
    public void setObjectMapper(ObjectMapper objectMapper) {
        this.objectMapper = objectMapper;
    }

    @Autowired
    public void setWiseClient(WiseClient wiseClient) {
        this.wiseClient = wiseClient;
    }

    @Autowired
    public void setCoreClient(CoreClient coreClient) {
        this.coreClient = coreClient;
    }

    @Autowired
    public void setScriptClient(ScriptClient scriptClient) {
        this.scriptClient = scriptClient;
    }
}
